package com.codewsq.entity;

public class User {

    private Person person;

    private String name;

    @MyAnnotation
    private Person person1;


    @Override
    public String toString() {
        return "User{" +
                "person=" + person +
                ", name='" + name + '\'' +
                ", person1=" + person1 +
                '}';
    }
    @MyAnnotation
    public void show(String name) {
        System.out.println("用户的名称是：" + name);
    }

}
